For 4 D NiMH batteries, I'd go with 0.56 ohms @ 5W. Connect it in series with either lead to the LED. Solder carefully and sleeve or shrink-wrap all exposed joints. Leave no bare wire.
But - once you have done this, don't ever put alkaline batteries in it. Not even once.