Testing 'withCredentials' property