Added "withCredentials" option which can be set when creating $fileUploader object.