title: sending JWT authorization guzzle
body: <p>I'm trying to test this jwt authorization it works fine doing curl from console but when I try to use guzzle it gives me an empty response any help greatly appreciated</p>
  
  <pre><code>        $client = new Client([
          'base_uri' =&gt; 'http://localhost',
          'timeout' =&gt; 2.0,
      ]);
  
    $res =   $client-&gt;request('GET', '/api/private', [
      'headers' =&gt; [
          'Content-Type' =&gt; 'application/json',
          'Authorization'     =&gt; 'Bearer JWTTOKENHERE'
          ]
      ]);
  </code></pre>
  
  <p>I am also having trouble with this route /api/login_check it works fine with from php server but apache returns 404</p>
  
  <pre><code>curl -X POST http://localhos/api/login_check -d _username=johndoe -d _password=test
  </code></pre>
  
  <p>but with guzzle I get a 404 not found using <a href="https://github.com/lexik/LexikJWTAuthenticationBundle/blob/master/Resources/doc/index.md#prerequisites" rel="nofollow noreferrer">LexikJWTAuthenticationBundle</a></p>
  
  <pre><code>      $credentials = base64_encode('test@email.com:test');
        $res = $this-&gt;client-&gt;request('POST','/api/login_check',
            [
                'headers' =&gt; [
                    'Authorization' =&gt; ['Basic ' . $credentials]
                ]
            ]);
        dump($res);die();
  </code></pre>