Tom, that sounds like exactly what I am looking for. I'm very interested in the patch if you could make it available.
Depending on how the user/lookup table works, I could tie that to an environment variable set by Apache which stores the username.
A modification also to the AuthPlugin.php page can use that username to query a database which stores real name, e-mail address, etc...