Detect proxy dbs from new-style proxy config
Detect proxy dbs from new-style proxy config

(cherry picked from commit da12561aaa8a1d1548164f7b29746fede75a2566)

dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq