Centralising handling of refreshing expired access tokens.

For issue #47
Deprecating ctx.access_token availability for #47