title: JWT_Auth returning a token is required for getPayload even though one is supplied
body: <p>I am using the JWT-Auth package in my Laravel 5.6 project.</p>
  
  <p>I have a simple test which is using the getPayload method, but it keeps returning;</p>
  
  <pre><code>Tymon\JWTAuth\Exceptions\JWTException: A token is required
  </code></pre>
  
  <p>My method is as follows so far;</p>
  
  <pre><code>$user = factory(User::class)-&gt;create();
  
  $token = JWTAuth::fromUser($user);
  $payload = JWTAuth::getPayload($token);
  </code></pre>
  
  <p>If i do a <code>dd($token)</code> it spits out the users token correctly.</p>
  
  <p>If anyone else has run into this, i would love some help.</p>
  
  <p>Cheers</p>