Add option to manually refresh token

Sometimes the auto-refresh makes no sense if time between requests is very long.
For example if token lifetime is 10 mins and the requests are from hour to hour, some generated tokens will not be used at all.