Change how the pg url is loaded from config so testing will work.