upgrade cookie store to rails4 github