configure http basic auth for different hosts