Fixes to allow user lookup before validation. Cached the user's DN as part of the session