Revert "Revert "withCredentials = true""

This reverts commit 3b88e597df566576d00ac7c97b66b0c649d982dd.