This patch replaces HTTP Basic with HTTP Digest authentication.
- It doesn't work yet because of missing password hashes
- It's untested
- It's missing unittests
Dropping the patch here such that it doesn't get lost.
Digest Auth Patch