Csrf protection plug

Couldn't get the last 2 tests to pass. How to persist token in the session in the tests?
This no longer exists!