Add initial support for Basic Auth and index page