Fix incomplete handling of errors from imgur.
Update refresh_token on refresh_access_token()