The redirect URL contains an extra # from the next token, which results in a 404 when a user signs in for the first time using OpenID. This fix removes the # from the token when generating the registration redirect URL. Change-Id: I059c8e860a8d54eefab8b1c4144a6b009cb7c322