First simple unit test for AuthorizationState
Pulling ajax request into an AuthorizationGateway