Better handle missing values in database.yml

This removes the "root" default for "user", so that direct socket
connections to postgresql work correctly: these are connections where
"username", "password" and "host" are left unspecified.