Clean up config file of any cookie or mongostore reference