Fix redirection after sign in when using auto_sign_in_with_provider
Logic for redirect path moved to a filter. This allows it to run properly when the auto_sign_in_with_provider filter takes control.
Logic for redirect path moved to a filter. This allows it to run properly when the auto_sign_in_with_provider filter takes control.