Set postgres host when creating a test_app

Can be set now with DB_HOST=foo

Fixes #3988