Wait for pg_hba to be updated before creating 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.

Fixes Bug 1038956