Restoring redirect in case of authentication issue.