CAS middleware for Node & Express applications