The biggest HR organization in the U.S. lost a discrimination lawsuit after making a basic mistake by neglecting its own staff’s professional preparations.