Fix EZP-22095: eZ Star Rating does not work for anonymous
(cherry picked from commit 37efb7c07fb103b2ec45991ec8d879ef98f235a0)