Trainee doctors left 'crying', 'distressed' after computer glitch crashes online exa