cookie and access token support added

Signed-off-by: wu meng <mengw@oupeng.com>