Both username and key were being set improperly during test suite.

We should really refactor the test suite to prevent future
unexpected events like this.