title: Failing Drupal 8 functional tests on drupalLogin()
body: <p>I'm getting failures on <strong>any</strong> functional phpunit tests in Drupal 8 using the <em>drupalLogin()</em> function.  The resulting message is:</p>
  
  <pre><code>User tBQjiDPm successfully logged in.   
  Failed asserting that false is true.  
  
  /web/core/tests/Drupal/KernelTests/AssertLegacyTrait.php:35  
  /web/core/tests/Drupal/Tests/UiHelperTrait.php:254  
  </code></pre>
  
  <p>I traced the <em>drupalLogin()</em> function in UiHelperTrait.php and it appears line 253:<br>
  <code>$account-&gt;sessionId = $this-&gt;getSession()-&gt;getCookie(\Drupal::service('session_configuration')-&gt;getOptions(\Drupal::request())['name']);</code> is not being set.</p>
  
  <p>My feeling is that sessions and/or cookies aren't being properly set when functional tests are being executed.</p>
  
  <p>Drupal 8 is updated to the latest version (8.7.3) and I'm running PHPUnit 6.5.14.  Also, this is running off PHP 7.2 and nginx in Lando.</p>
  
  <p>Any help is appreciated.</p>