Varnish for authentication and authorization