[bug 976099] Redirect to the current page after sign in.