Support for login testing and different authorization codes