Can you use that type on a coin door? That looks like the style used under a pinball playfield. The mounting leg is part of the circuit powering the bulb.
I use the type with two tabs on the base of the socket and the mounting leg is isolated from the circuit.