Fix bug with csrf token
add session into test request
Merge pull request #905 from lovenunu/fix-cache

Fix bug with csrf token