Bug 908968 - Use cat to cross security domains.
Merge pull request #1349 from rmillner/BZ908968

Merged by openshift-bot
Merging
Updated tests to handle csrf headers
Adjusting tests
Fixed functional tests related to CSRF
Rest::Authorization has to handle CSRF headers
Reverted tests, now only going to CSRF on integrated environments
Cleaning up
CSRF now in authentication.rb
CSRF now in authentication.rb
CSRF back
Check for CSRF only on integrated envs
CSRF
Adding CSRF back
Sending Authorization headers in non-integrated environments