Fix fatal error in LDAP auth backend