Unit test for #571: Serialize and Decrypt cookie with string expires