Using RESTPolling authenticate method to obtain access token