added custom authentication provider for api calls with tokens