Generated code returns Unauthorized

Initially set up an API test call in Linqpad referencing the latest RestSharp Nuget. Specified the client, and resource (i.e., the url components) and a basic authenticator per the specifications required for the API. This failed with Unauthorized.

In a last ditch effort, I turned to Postman. Using the same info it works. Just to be clear, no extra headers, no body, authorization is still basic (see attached screenshots).

I took the generated C# RestSharp code and pasted it into a new Linqpad query (again, referencing the latest RestSharp Nuget) and ran it. Surprisingly, it returned Unauthorized.

Postman Get Request

Postman Result

Generated Code

var options = new RestClientOptions("http://blade.apiserver.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/system/api/User/user.name", Method.Get);
request.AddHeader("Authorization", "Basic Generated-Authorization=");
var response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);