Fixed broken getAccessToken call when using the query string request scheme

The method was using the passed in url which was the incorrect request string url. Changed to fetch the url instead, now matches related methods.