Fixed the NTLM header check logic