FIX: Cookie expiry time is now correctly set as number of days