Make restoreFromCookie and renewCookie adhere to adjustments from identityCookie.