title: HttpClient Adding JSON Authorization Header
body: <p>I am running into an issue with authentication for the LogMeIn api.
  The authorization value is a JSON object.
  When running my code, I run into FormatException error.</p>
  
  <p><em>"A first chance exception of type 'System.FormatException' occurred in System.Net.Http.dll
  Additional information: The format of value '{"companyId":9999999,"psk":"o2ujoifjau3ijawfoij3lkas3l2"}' is invalid."</em></p>
  
  <pre><code>        var client = new HttpClient();
          client.BaseAddress = new Uri("http://secure.logmein.com/public-api/v1/");
          client.DefaultRequestHeaders.Accept.Clear();
          client.DefaultRequestHeaders.Add("Accept", "application/JSON; charset=utf-8");
  
          string s = "{\"companyId\":9999999,\"psk\":\"o2ujoifjau3ijawfoij3lkas3l2\"}";
  
          client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(s);
  
         HttpResponseMessage response = client.GetAsync("authentication").Result;
  </code></pre>
  
  <p>How should I be formatting the authorization key in this situation?</p>