Hi Jaco, Although this is not exactly what you are asking, but we're working on HTTP SASL authentication, so one level below the HTML forms that you are talking about.
http://internetwide.org/blog/2018/11/15/somethings-cooking-4.html There is an early Docker Demo with a plugin to add SASL to FireFox, based on the recently standardised notion of Native Messaging, https://github.com/arpa2/docker-demo/tree/master/demo-ffsasl Maybe that is (a direction for) a solution. HTML forms are not likely to support the any-number-of-back-and-forths that SASL requires, in general. Cheers, -Rick