allow plugins to override login redirection when authentication failed