Authentication error timeout improvement