_psql_cmd runs _connection_defaults but does not return the results.
An alternative approach is to return both the cmd string and the password from _psql_cmd