leader: Fix leader election (finally!)

The problem was a missing redefinition of leader in leader_init() --
leader was still being defined as the previous leader.