LDAP: allow changing the hosts
getuserattrs: clean up a tiny bit

Do not load Net::LDAP when reading from cache.