Add cookiePath and cookieDomain config