Add authenticator class with tests.
Remove debug code.
Fix broken tests.
Bump version.