Make redirection after authentication optional.
Fix optional redirection. For now it has to be defined per provider.