node.js and REST step 4. Using passport for authentication