Removed unused imports
Unit tests for Authenticator validation code.

Minor logging routine updates to help testing.