Add cookieParams support for expiration, path, etc.

Change-Id: I84b1c626f7d0569cf163a989b4162af0fac907ad