Add plain password authorization.
Introduce withTransport helper.
Use counters instread different datastructures