Basic authentication and https setup