Store and restore access token.