ActionController::InvalidAuthenticityToken Rails 5 / Devise / Audited / PaperTrail gem : <p><strong>Background Details</strong></p>

<p>I am using <strong>Devise</strong> for authentication to login to a <strong>Rails 5</strong> application.  </p>

<p>Whenever I bundle either the <strong>Audited</strong> or <strong>Paper Trail</strong> gem, when I attempt to #create a new session (via the sign in form - /users/sign_in), I receive the following error:</p>

<pre><code>ActionController::InvalidAuthenticityToken
</code></pre>

<p><strong>Environment Details</strong></p>

<p><strong>Ruby 2.3.1</strong></p>

<p><strong>Gems:</strong></p>

<ul>
<li><strong>rails</strong> 5.0.2</li>
<li><strong>devise</strong> => 4.2.1</li>
<li><strong>paper_trail</strong> => 7.0.1</li>
</ul>

<p><strong>Steps to Reproduce:</strong></p>

<ol>
<li>Create Rails 5 application</li>
<li>Add Devise gem</li>
<li>Add Audited or Paper Trail gem</li>
<li>Attempt to login</li>
</ol>
