fix migration which depends on tokenauth migration