code: public boolean login(String nic, String password, int timeInSec) throws IOException {
  		if (password == null) {
  			// using CK only, no autologin
  			return false;
  		}
  		setLoginInfo(nic, password, timeInSec);
  		int retry = 0;
  
  		String lastKey = config.getConsumerKey(nic);
  		if (lastKey != null) {
  			this.setCK(nic, lastKey);
  			return true;
  		}
  		// no valid CK use login
  		while (!loginInternal(nic, password, timeInSec)) {
  			retry++;
  			if (retry > 1) { //  no more retry
  				log.error("LOGIN failure to {} after {} retry", nic, retry);
  				return false;
  			}
  			long sleep = retry * 3000 + (long) (Math.random() * 5000);
  			log.error("LOGIN failure to {} after will retry in {} ms", nic, sleep);
  			ApiOvhUtils.sleep(sleep);
  		}
  		return true;
  	}
docs: Create a new CK from a nic/password and force login