NewCookie createAuthenticationCookie(SessionResponse token, ContainerRequestContext requestContext) {
        return makeCookie(token.getAuthenticationToken(), token.validUntil(), requestContext);
    }
@Test
    void defaultPath() {
        final CookieFactory cookieFactory = new CookieFactory(new HttpConfiguration());
        final NewCookie cookie = cookieFactory.createAuthenticationCookie(sessionResponse, containerRequest);

        assertThat(cookie.getPath()).isEqualTo("/");
    }