Easily generate a Google access token, optionally with a refresh token.