Cache ldap connection and config loading
This should reduce considerably the number or connections being open against the ldap server and the number of reads from disk.
Bug: T369601
Signed-off-by: David Caro dcaro@wikimedia.org
Edited by David Caro