修正cookie的錯誤

Signed-off-by: Eric <doshajou@gmail.com>