Fix issue with cookies variable and remove debugging for configuration page