Add options for forcing https and adding http basic auth.