Change postgres auth method (#24640)