Whey treatment in plant-based protein processing