cookie lifetime in common.php fix