itShouldRedirectUnauthToLogin = (path, dest) => {
  it(`should redirect unauth ${path} to ${dest || "login"}`, async () => {
    const app = await getApp({ disableCsrf: true });
    const res = await request(app)
      .get(path)
      .expect(302)
      .expect(
        "Location",
        dest || `/auth/login?dest=${encodeURIComponent(path)}`
      );

    expect(res.statusCode).toEqual(302);
  });
}
@param {string} path
@param {string} dest
@returns {void}