Better behavior when the API server is offline.
Use HTML5 History for removing the OAuth 2 access token from the page URL, when available.