fixed the profile not found error for LDAP users, closes #242