Better error handling in NTLMLogin
Merge pull request #492 from emmanuel-keller/1.5

Better error handling in NTLMLogin