Add rudimentary basic auth support for testing