Ensure port and host from config file are used.

Set named arguments to None and added dbPort default in similar manner
to that already existing for dbHost (which would never have previously
been used).