Fix after_sign_in redirect loop.