Delete prefs file after installing the QGIS plugin
Add user=postgres to default db options