Fixing the format of a cookie's expires value