minor tweaks to password caching