Fix the flawed cookie test logic
Updated NEWS