Fixed the "access_token query param" (5b1f314) fix

Commit 5b1f314 fixed issue #1623, but created a new issue as the access_token query param never reaches the url. This PR fixes that problem :)