Decode Rails 4.x session in node.js