Add default port and host for the postgresql server in the config file
Propagate the port and host set in the configuration file to the backend

This makes sure the host and port are configurable and set correctly in the URL returned.