The restaurant operator’s stock has brushed off food scandals of the past, but that might not continue