[ticket/11731] Replace acp_users.php session table queries

PHPBB3-11731