Let mw.Api handle params and token in RepoApi

Change-Id: I46d82b623a82ca141f65ef746d01d81167c0772d
Merge "Let mw.Api handle params and token in RepoApi"