Refactored auth and caching to resolve potential major bug where aith credentials were ignored.  Removed node caching, changed to class local caches, and changed class constructors to use a common CM_credentials class for credential handling