fix lib/cookie/index.js: when no path specified and req is undefined then return '/'