code: def interactive_login(self, user=None, password=None, force=False,
                            restrict_login=None):
          
          ignore = force
          log.debug('Calling interactive_login')
  
          if not user:
              sys.stdout.write('Bugzilla Username: ')
              sys.stdout.flush()
              user = sys.stdin.readline().strip()
          if not password:
              password = getpass.getpass('Bugzilla Password: ')
  
          log.info('Logging in... ')
          self.login(user, password, restrict_login)
          log.info('Authorization cookie received.')
docs: Helper method to handle login for this bugzilla instance.
  
          :param user: bugzilla username. If not specified, prompt for it.
          :param password: bugzilla password. If not specified, prompt for it.
          :param force: Unused
          :param restrict_login: restricts session to IP address