Add Basic Auth support

This adds basic auth support. Requests to the metrics endpoint will require basic auth if -auth.pass is set.
:+1: Heh, another thing that crossed also my mind, but I didn't utter it :)