Test/advanced constructor: inject a refresh function (the refresh-token-grant call) directly, bypassing the live HTTP client.
Test/advanced constructor: inject a refresh function (the refresh-token-grant call) directly, bypassing the live HTTP client.