REVIEW: NEXUS-5998: ldap performance

https://issues.sonatype.org/browse/NEXUS-5998

https://bamboo.zion.sonatype.com/browse/NX-OSSF39-5 :+1: