Ember-simple-auth with REST API and session cookie

Please be aware with this line. It will always convert the content type and it will stop you from uploading the files It is here explained But if I comment it, i am not able to login