Expanded use of reauthenticateConnection() beyond just Lua calls