Nasty workaround for mobile auth.

Replace "close" in the url with "redirect", so that when the auth
returns, _renderOauthResults will catch the "redirect" in the query,
and redirect the page to authState.

Whether it's working or not needs further testing.