title: Devise ajax login/register with Rails remote: true
body: <p>Without <code>remote: true</code> in my form, the login works. But, when using <code>remote: true</code>, and attempting to login via ajax, I receive this error:</p>
  
  <pre><code>You need to sign in or sign up before continuing.
  </code></pre>
  
  <p>The requests are both post. Can somebody enlighten me?</p>