use PathBase for cookie paths