Added option to change timeout for AuthCache.store and increased the timeout to 6 hours for store and 10 min for tpid.  Changed the random token generation to be based on sha1 instead of md5 as one of the unit test failed due to dup.
Moved definition of authentication header to Authenticator object