Complete backward compat fix regarding session_status().