In pg_hba.conf I had all the connection settings set to trust, when I changed them to require md5 login method and then set a windows environment variable for PGUSER = myuser I was able to connect.