Opened up the Main class so that the Jetty handlers can be configured
and added a convenience method for enabling HTTP basic authentication.
Updated HTTP basic auth configuration so that it works with command-line parameters.