TRQ-2070. Add a unit test ensuring that we retry for LDAP failures.