Removed EnableCrossDomain flag.
Updated samples to use new cors middleware.
Converted new test to new cors support.