Handle .pgpass in the js client