Escape username and password for postgres database params, #581