logging and close when auth failed
Merge branch 'master' of https://github.com/caa-project/caa-central