Some APIs should be accessed from your backend, not the app (eg the user can authorize you on Facebook without you sharing your API app secret).
The paper also says they found amazon tokens, with which you can spawn instances. I think you can use other kind of authentication that don't give access to the whole account.