get cookie from response header react