Focus restored after authentication error