A supervisor brought a potentially live pipe bomb to training, officials said