Change sign-in so that it will redirect to the correct page with the # portion of the url.