Correct comparison of authorized principal len

Fixes #7
Update ChangeLog