Got ajax cookie test cases working.