bug 1131840: fix auth and token data for XML translation

Change-Id: I4408b3e6e0752ca75bc36399f5148890820e9a89
Convert api to controller

Auth test case was using the member for a controller
but had called it API, which was confusing

Change-Id: Ic3d233208149277e4647010c0a8567814bdadc44
Merge "bug 1131840: fix auth and token data for XML translation"