Use a bootstrap class to include the logging class for all tests.

Make sure that we have a logger instance before using to to log.
Add some logging to the ban-manager and authentication to help diagnose problems.