Three years ago HP endured the worst episode in its history , dismissing Ms Fiorina , its celebrity chief executive , ousting Patricia Dunn , its chairwoman , and becoming embroiled in a phone-bugging and identity-theft scandal in which members of the board had to account for their secret surveillance of one another in front of Congress .