show auth_debug page even if debug login disabled
fix exception
register the hook only if debug login enabled
load user id from proxy headers
move ldap code to separate module
docs for ldap configuration