Passing withCredentials to NetworkManager