Added login check for superuser status. [#80455850]