Comment on attachment 110171 [details]
Refactor the AuthProvider in preparation of later changes
An explanation how auth failures are detected and resolved now would be useful.
I have a hard time understanding how the replacement of the NE_AUTH error
handling is working.
The commit message should not only explain what is changed, but also why the
new code is better.