Add more logging with errors
Allow using unlisted auth modules
TODO