Cannot upload using CKEditor and Carrierwave, Rails 3.1

Uploading files won't work properly for me in CKEditor. The file does get saved but looking at the parameters there is no authenticity token which resets the session, then I can't update the post.

The token is set in the form but CKEditor doesn't seem to send it for picture or file uploads. I think this may have been OK when I used CKE with Paperclip, but not certain of that. All other CKE operations work.