[COOK-1913] Connect to the "postgres" database instead of "template1"

To avoid accidents with the template databases.