Option to automatically clear invalid cookies