A utility function to extract the access token from the url that results from the redirection after the user authenticates
the url which contains an access token in its fragment