[Bug 6805] ldapsearch can expose cleartext password needlessly