fix https and http basic auth for docker