Got basicauth module to follow naming convention.

Also reduced if statement to a more compact form.

Removed whitespace.
Factored out bolier plate code in main routine.

Instead that code can go into webserver.lua.

Also changed repo location to be ~/community/iguana-web-apps