CAS authentication client in Node.js