BACKLOG-4995 : fixed invalid calls to lookupUserByKey(), returns null if parameter is not a valid ldap user key