title: TestCafe test after logs into application throws error 401 unauthorized
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>fixture `Export`
      .page(url)
  const emailAddress = Selector('#email-address');
  const emailPassword = Selector('#password');
  const signInButton = Selector('.EmailSignIn_signInBtn__1u72_')
  
  test(`Write credentials and successfully logs in to application`, async t =&gt; {
      await t
          .click(emailAddress)
          .typeText( emailAddress, process.env.FAN_USERNAME)
          .click(emailPassword)
          .typeText(emailPassword, process.env.FAN_PASSWORD)
          .click(signInButton)
          
          .wait(100000)// don't mind this
          
          .click(Selector('.Navbar_menuButton__3FuYX'))
  });</code></pre>
  </div>
  </div>
  </p>
  
  <p>I created a new test and everything works good but when the user successfully signs in to application it throws me 401 error unauthorized.</p>
  
  <p>The error that I'm getting:</p>
  
  <p><a href="https://i.stack.imgur.com/CG13U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CG13U.png" alt="enter image description here"></a></p>