request, router and basicauth
templating extensions, docs
basicauth example. routing and template inheritance in action