https://bugs.winehq.org/show_bug.cgi?id=42774
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Hans Leidekker from comment #1)
Created attachment 57788 [details] patch
The issue is that WinHttpQueryAuthSchemes returns when it encounters an unknown scheme where it should proceed with the next header. This patch should fix it.
Confirming it fixes the issue.