Handle connection.close on auth failure.