Added option to log exceptions thrown by auth modules (default true, but
can be disabled)