Restore the authentication process