OAuth2 authentication process: added getAccessToken method