Fixed an issue where non-ldap users failed to save in user manager due to LDAP profile