bugid 101100: update logingAsUser() in ApiService class