Fix db auth.