Gluing together basic functionality

including support for block-based authentication as with Basic and
Digest and ENV-based authentication.