Inject configured mwApi into RepoApi

Change-Id: Ibae5bfca6f5d3b72257a5a97ecaf19b01ed42a15