[tor-commits] [tor/master] Bugfixes for authenticate handling and generation