ITS#10647 lloadd: fix configuration time issues
ITS#10647 lloadd: fix issues when running under LDAP_THREAD_DEBUG
ITS#10647 lloadd: add tests