Add cookiePath and cookieDomain config

added cookie path and domain configuration parameters in case of sharing cookies(or sessions) with other servlets and services