Improvements and bug fixes regarding userprojects LDAP connector

Is this intended?