save_code_now: add tests for (and fix) multiple-origin CLI
We only ever tested the single-origin case, and the CLI endpoint itself was never adapted to work for multiple origins. Ensure that tests properly support that case.
Staging instance, all changes can be removed at any time
We only ever tested the single-origin case, and the CLI endpoint itself was never adapted to work for multiple origins. Ensure that tests properly support that case.