XWIKI-8035: CSRF failure in saving the Annotation settings in Administration is still reported as a success
XWIKI-8903: Deleting attachment with an expired CSRF token wrongly reported as a success
Fixed.
(cherry picked from commit dd3be33aed02ac2482cb2ae6ca20efb2000b416a)