Refactor SignedCookie.cs