cubicweb-securityprofile #3567000 work around cw 3.16+ bug [validation pending]

see https://www.cubicweb.org/ticket/3221274

prioritynormal
typebug
done in0.2.2
load0.200
load left0.000
closed by#3bd2c0355709 [hooks] work around strange regression starting with cw 3.16
patch[hooks] work around strange regression starting with cw 3.16 [applied]