fix test error fo db auth