Try to fix tests on PostgresSQL 8.4

Connection parameter 'application_name' is not supported on 8.4.