AuthorizationState.authorize is now a promise

This is a preparation for getting access and refresh tokens from the google api