[CookiesTest] Make the test pass after last commit