support file:// as a URL for tokeninfo fetching