Add token caching

Allow the access_token (and other auth data like URLS) to be cached
inbetween calls. Makes calling from one shot scripts faster and more
better.