Fix broken registration flows from renamed exception.