implement withCredentials + get tests passing