Seamless support for NTLM/Kerberos auth on Windows