title: Session is not started Laravel 5.3 Auth
body: <p>I am trying to authenticate user against an API in Laravel 5.3.  It is not working.  Auth does not persist once the user redirects after login.</p>
  
  <hr>
  
  <p>Routes are configured like:</p>
  
  <pre><code>Route::group(['middleware' =&gt; 'web'], function () {
      Route::group(['middleware' =&gt; 'auth'], function () {
          Route::get('/', 'Users\DashboardController@index');
      });
      // Authentication routes...
      Route::get('login', 'Auth\LoginController@getLogin');
      Route::post('login', 'Auth\LoginController@postLogin');
      Route::get('logout', 'Auth\LoginController@getLogout');
  
  });
  </code></pre>
  
  <p>In LoginController.php I'm using</p>
  
  <pre><code>protected $redirectTo = '/';
  public function getLogin()
  {
      return view('auth.login');
  }
  
  public function postLogin(Request $request)
  {
      $this-&gt;login($request);
  }
  </code></pre>
  
  <hr>
  
  <p>After login which is successfully saved in file, the session is not started for route <code>'/'</code>. </p>
  
  <p>So on <code>'login'</code> route:</p>
  
  <p><code>dd($session);</code>  in Illuminate\Auth\SessionGuard returns <code>#started : true</code></p>
  
  <pre><code>Store {#153 ▼
   #id: "fo9Q8WuBio5BBus70WmzFPZmkXkjsYQlYEHsVHI4"
   #name: "laravel_session"
   #attributes: array:4 [▼]
   #bags: []
   #metaBag: MetadataBag {#144 ▼}
   #bagData: array:1 [▼]
   #handler: FileSessionHandler {#154 ▼}
   #started: true
  </code></pre>
  
  <p>}</p>
  
  <p>but <code>#started</code> is false when the route is in <code>'auth'</code> middleware group (<code>'/'</code> in my case).</p>
  
  <p>I checked some and <code>#started</code> is also false when I put the <code>'/'</code> route outside <code>'auth'</code> middleware group but calling <code>Auth::check()</code> in controller.</p>
  
  <p>This problem seems to have existed in 5.2 (<a href="https://stackoverflow.com/questions/35921210/auth-not-persisting-in-laravel-5-2">Auth not persisting in Laravel 5.2</a>
  ), but the solution there not working for me. </p>
  
  <p>Please help me understand why I can't access the <code>'/'</code> route after logging in.
  Thank you!</p>