Add IOLoop auth tests and cleanup