Remove tracking cookie after it has been recorded

Otherwise it will be sent on every page ever after search.