BACKLOG-5390

Add exception management upon searching users / groups

Add a toString method so that we know which LDAP config is causing the issue