Added support for ntlm and sharepoint