Set cookie expiration timeout for GET requests

Change-Id: Ic815e38f36ec1565c475296abbf427454efa1db9