First draft for new basic auth module.