Log to Logstash when authenticity toke is invalid

Configured it for Test environment so all the tests pass as expected.