Resistor causing problems when in series with LED
If that is a red LED then you probably need a higher value resistor. 

There are no "just a 5mm LED" typical LEDs.
While there are a vast number of 5mm LEDs, none is strictly typical.
Here is a 'typical' one that MAY be similar to yours, or quite different.
Vf = 2.1V typical and 2.6V max.
At 2.1V across the LED at 5V I = V/R = (5-2.1)/100 = 29 mA.
That's greater than the LED's typically rated rated 20 mA - and an 82R would result in higher current again.  

The above LED can withstand 200 mA max BUT yours may not be able to.
Try an eg 330 Ohm or similar resistor to start.