Removing hardcoded XRequest and WithCredentials

This change improves Cross Request features by using native settings and allowing a bigger range of setups.