Moved client ID setting into a filter to cut across all requests.
Deleted the needless cookie service.