I'm getting the issue too, in the newly-installed 2.14.0. Same problem as above.
Comparing sessions side-by-side in Fiddler, I have 4 sessions for a successful login on Fiddler, compared to 2 sessions for unsuccessful ZAP login.
Comparing ZAP and Fiddler:
ZAP session 1 and Fiddler session 1:
- the same, but parameter 'host:' is lower-case in ZAP and title-case in Fiddler.
- 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' in ZAP, 'Accept-Language: en-GB,en;q=0.9' in Fiddler
ZAP does not have an equivalent of Fiddler session 2:
ZAP session 2 and Fiddler session 3:
- look similar, this contains header value: 'Authorization: Negotiate T------REDACTED==' and is identical.
- The response in ZAP is 502 'Bad Gateway', the response in Fiddler is another 401, with cookie 'WWW-Authenticate: Negotiate T---- REDACTED REDACTED='(this Negotiate value in response is roughly twice the length)
ZAP has no further sessions but Fiddler has session 4:
- Authorization header parameter uses value of cookie sent in response to last request.
I also used two tools in ZAP to recheck:
- Manual Request Editor - I replayed the successful request from Fiddler. Again, IllegalStateException: AuthScheme is null
- Authentication Tester - supplied URL, name & password. Same null result as before
Company uses NTLM, I have tried to keep the details vagueish but hopefully this might be useful. I'm unable to supply URL or the app I'm afraid.
Regards
Dan