First pass at caching credentials