Fixes cross protocol/domain ajax issues. Addresses issue where credentials fail if bucket path is set to root