Move cookie key into core.php