CAS Authentication Middleware for the Cowboy Erlang web server