[Cookie] parses cookie successfully, fixes #150