Added password caching for osx