fixed ntlm test on python2