Patch node initialization script

A couple of fixes related to Windows:
- Add '\r\n' as newline separator
- USER is not an environment variable, USERNAME is
- "local" connections are not supported in builds with MinGW, so remove
the related entry in the automatically set pg_hba.conf