Tring to test OauthService, but a little tricky to mock objects.