Ensure PHP uses secure sessions if SSL enabled.