Config generation: Don't add api_url to config by default.
DB: Refactor driver selection, add to debug output which driver is being used.
Fail fast on Invalid API key.
Create pg_stat_statements extension if it doesn't exist.
Better check for remote AWS/Heroku-type systems.