Adapt plugins to Core change (cookies) (#696).

Easify cookie access.

See #696.