No default withCredentials. Updated version of #47
Merge upstream/pr/53