fix api issues to run tests on stage/dev

Addresses https://github.com/mozilla/marketplace-tests/issues/348.