Mac OS X Lion Server, can't connect PT3 to Postgresql

I purchased new mac mini with Mac OS X Lion Server installed (not just Lion, but Lion Server). It has Postgresql 9.0.5 installed. It's used buy OS, I think, so I can't really mess with it too much.
I followed instructions here http://www.mactasia.co.uk/revisited-using-postgresql-in-lion-server and I can connect to it from pgAdmin. Unusual thing is, pgAdmin accepts any password at all, including blank. I also tried different random (non-existent) usernames, but only "_postgres" (with underscore) works.
I installed PT3. Every time I run it it asks me to install Postgresql. I refuse. Then it asks me to connect to existing Postgresql. This fails with error message : "Unable to connect to this database. Please check the configuration". I tried all kind of passwords including blank and my OS X password.
I looked at PostgreSQL.log and it adds messages when I connect to Postgresql server from pgAdmin, but when I attempt to connect from PT3 it doesn't add any new messages there.
I initially tried to set up PT3 a couple of months ago, so I could forget something I did.
Please help.
This is status of postgresql:
mini:~ edik$ sudo serveradmin fullstatus postgres
Password:
postgres:dataDirHasBeenInitialized = yes
postgres:PG_VERSION = "9.0.5"
postgres:dataDir = "/var/pgsql"
postgres:postgresIsResponding = yes
postgres:dataDirIsDirectory = yes
postgres:PGserverVersion = 90005
postgres:dataDirExists = yes
postgres:setStateVersion = 1
postgres:state = "RUNNING"
Screenshot (how do I add a picture to the post directly?):
http://imglink.ru/show-image.php?id=a35 ... 9fe7f88771
I followed instructions here http://www.mactasia.co.uk/revisited-using-postgresql-in-lion-server and I can connect to it from pgAdmin. Unusual thing is, pgAdmin accepts any password at all, including blank. I also tried different random (non-existent) usernames, but only "_postgres" (with underscore) works.
I installed PT3. Every time I run it it asks me to install Postgresql. I refuse. Then it asks me to connect to existing Postgresql. This fails with error message : "Unable to connect to this database. Please check the configuration". I tried all kind of passwords including blank and my OS X password.
I looked at PostgreSQL.log and it adds messages when I connect to Postgresql server from pgAdmin, but when I attempt to connect from PT3 it doesn't add any new messages there.
I initially tried to set up PT3 a couple of months ago, so I could forget something I did.
Please help.
This is status of postgresql:
mini:~ edik$ sudo serveradmin fullstatus postgres
Password:
postgres:dataDirHasBeenInitialized = yes
postgres:PG_VERSION = "9.0.5"
postgres:dataDir = "/var/pgsql"
postgres:postgresIsResponding = yes
postgres:dataDirIsDirectory = yes
postgres:PGserverVersion = 90005
postgres:dataDirExists = yes
postgres:setStateVersion = 1
postgres:state = "RUNNING"
Screenshot (how do I add a picture to the post directly?):
http://imglink.ru/show-image.php?id=a35 ... 9fe7f88771