auth_ldap: added option to select ldap attribute to be used as login name