switch auth client db to pg