certauth: some cleanup for pep8, 2.6 compat