Fixed return value for LDAP based logins