User Authentication with LDAP-- with cache section and fixes

Merging my changes with xtruthx cache section