Fix 1038956 - Wait for pg_hba to be updated before creating Postgres test user

Puppet tries to create the postgres test user after postgres has been
initialized, but before pg_hba.conf has been updated and the service
restarted.