Added "withCredentials" param