When I call the background job from a controller that is authenticated, it works perfectly.
When I run this from a rake task I get a 404
ActiveResource::ResourceNotFound (Failed. Response code = 404. Response message = Not Found (Not Found).)
I'm not sure where the issue is with the rake task or why I'm getting a different result. I get that the controller is authenticated, but I thought activating the session for the job was the answer to that. When I puts out the session it shows up in the console.