fix auth_base referencing dbh which was not present