title: HttpClient Component Authentication
body: <p>I need to to be authentificate when create a HTTP request, in the documentation</p>
  
  <pre><code>        $httpClient = HttpClient::create([
              'auth_basic' =&gt; ['user@gmail.com', '45@8888'],
          ]);
  
  $httpClient = HttpClient::create([
      // HTTP Basic authentication with only the username and not a password
      'auth_basic' =&gt; ['the-username'],
  
      // HTTP Basic authentication with a username and a password
      'auth_basic' =&gt; ['the-username', 'the-password'],
  
      // HTTP Bearer authentication (also called token authentication)
      'auth_bearer' =&gt; 'the-bearer-token',
  ]);
  </code></pre>
  
  <p>So when write</p>
  
  <pre><code>$response = $httpClient-&gt;request('GET', 'https://...', [
      // use a different HTTP Basic authentication only for this request
      'auth_basic' =&gt; ['the-username', 'the-password'],
  
      // ...
  ]);
  </code></pre>
  
  <p>An exception is throwed</p>
  
  <blockquote>
    <p>Symfony\Component\HttpClient\Exception\ClientException: HTTP/1.1 400
    Bad Request returned for "<a href="http://site.test/login_check" rel="nofollow noreferrer">http://site.test/login_check</a>".</p>
  </blockquote>
  
  <p>Is the exeption throwed because i haven't post the field user[_token] ? 
  If yes how to generate it and add to the request ? 
  If anyone has already logged in with this component please give me the code :) </p>