Fixes refresh access token.
Corrects api url.