Simple node.js app using openAM's REST interfaces for authentication