fixed handling of nottyautologin with persistency