title: Cypress E2E: Before hook not working on retries
body: <p>Our tests have a reset state cypress command on the before hook that clears local storage and cookies so that before each run this function makes sure no session was stored.
  But we are somehow getting test fail upon retry because it looks like its ignoring the reset state function and doesn't start the test on the signup page.
  Is there a way to force the before hook when a retry happens?</p>