Very simple question...: battery holder

You may find you could thread the bared end of the wire through the coils of the spring, to be held in place by the presence of the last battery.
It depends on how reliable you need the arrangement to be.