Closes #12733
Seems on mobile devices a similar API is used, but I always get an AD with mimicking that API.
Closes #12734 Thanks @paulguy for the fix!
In some non-standard implementations, the server may respond AUTH_USER_PASS even if's not listed in available authentication methods. (it should respond AUTH_NO_ACCEPTABLE per standards)
Fixes #12482