Hello,
in 1.x, $Au was available after any x_authorize() call found a digest with the requested realm, regardless of the result of the authgentication. In 3.x, $Au is only available after successfull authentication.
I use $Au to get the digest username after pv_xxx_authorize() with dummy password, so i can use the username for caching into htable. This no longer works in 3.x
Attached patch fixes this. Opinions on whether is should be committed?