title: Laravel automaticly redirect on authentication exception
body: <p>im working with laravel 5.5 and tried to protect an api route. I assigned the 'auth' middleware to this route, but when i tested it, i get an InvalidArgumentException aka 'Route [login] is not defined'. Im not reffering to this route in any way, laravel automaticaly tried to redirect to this route. I found the following code line in file 'laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php':</p>
  
  <pre><code>/*
   * Convert an authentication exception into a response.
   *
   * @param  \Illuminate\Http\Request  $request
   * @param  \Illuminate\Auth\AuthenticationException  $exception
   * @return \Illuminate\Http\Response
   */
  protected function unauthenticated($request, AuthenticationException $exception)
  {
      return $request-&gt;expectsJson()
                  ? response()-&gt;json(['message' =&gt; $exception-&gt;getMessage()], 401)
                  : redirect()-&gt;guest(route('login'));
  }
  </code></pre>
  
  <p>So im wondering, whats the best way to catch this exception globally on every route? </p>