Remove DB_REBUILD config option

I don't think anyone has used this in many years.
Use HTTPS for proxy auth check
Use config URL for all repo requests, and move config to separate file