sql_sessions: don't join affiliations (not available in all subprojects); use 'more_joins' to join where available
fix sessions.php to not use groups

cluser: add maintenance scripts: sessions, tables