junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/Cookies.java
public static Cookie sessionCookie(String name, String value, String domain, String path) {
		return Cookies.cookie(name, value, domain, path, -1L, 0L, true, true);
	}
public static Cookie sessionCookie(String name, String value, String domain, String path) {
		return Cookies.cookie(name, value, domain, path, -1L, 0L, true, true);
	}
Create a session cookie, it means that cookie will have
secure flag and http only flag set to true and expires / max age values
are set to zero.

@param name Cookie name.
@param value Cookie value.
@param domain Cookie domain.
@param path Cookie path.
@return Cookie.
@throws NullPointerException if name or value is null.
@throws IllegalArgumentException if name is empty or blank.