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

PHPBB3-11731
[ticket/11731] Replace acp_main delete/functions_user session table queries

PHPBB3-11731