only print auth messages when necessary