Simplified for new version of web server code.

Added basicauth as a module.