Add option to use htpasswd for Dashboard.

This patch is backwards compatible and allows for optionally using
Apache's basic auth with a htpasswd file for securing access to the
Dashboard.