Testing cross domain requests with cookies