Fixed some issues with voting cookie security