Maintain CSRF authenticity token
Merge pull request #200 from reed/csrf

Maintain CSRF authenticity token - Fixes #171