Fixed issue retrieving the access_token.