Use iterators as counters
Use actor-based http client in authenticator
Inline trait Authentication