Fix bug where api.Person.getFromToken(token=token) failed.

`test.login` is decorated by `static_caller`, which takes `token` as a position arguments, thus no token can be used to issue the API call.