As the box was opened, instead of a birthday greeting, the cake carried the words “Leave at security,” written in icing.