A start on authentication improvements

This is mainly cleanup. The only functional difference is that the buddy fingerprint is stored on first ake and compared going forward. Some things that still need to be looked at are the smp abort and what to do about a buddy logging out and then someone joining with the same nickname.