authlib: convert exception handling to Py3 style
daemon: convert exception handling to Py3 style
authlib: convert exception handling to Py3 style