Test authentication logging

This closes #28.