Minor change for SSO  to fix a bug which cannot response cookie to CLI.