Added A7 style LDAP authentication