Fix dynamic scope lookup in openldap module.

Change-Id: Ife93b14c70b040c07616cb0d746705d784b4a81b
Signed-off-by: Giuseppe Lavagetto <glavagetto@wikimedia.org>
Merge "Fix dynamic scope lookup in openldap module." into production