Fix SimpleLazyObject error for LDAP users.