If you intend to use passwords for local database authentication, you'll need to make an adjustment to the pg_hba.conf file:
# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD #local all all ident sameuser local all all password
authenticationidentlocalpasswordpostgresqlpsql