Refactoring negotian with NTLM auth