Fix caching of DN in LDAP source