I'm trying to develop a MEAN app interfacing with the bonita rest API. I'm using the passport.js that is included in the seed that I've built. I having some issues integrating passport.js with the bonita login rest api. Has anyone done this before? I have a node script that calls the login rest api, gets cookie, then calls a get process service. This works just fine. But when trying to integrate into existing application, I can't get it to work.