* Update SQL queries to insert realm id * Insert the realm id when logging actions based on IP * Adding the SQL update file * Update 9999_99_99_99_auth.sql * Update auth structure Co-authored-by: Giacomo Pozzoni <[email protected]> (cherry picked from commit 56f20d69a6ab23a9818f77fd4e2df541a7c30f0e)