Remove the session of deleted or disabled users (see #5353)