docs: @Deprecated
  	public void login(String username, String password)
  			throws LoginFailedException {
  		try {
  			String token = fetchToken("login");
  			try {
  				this.confirmLogin(token, username, password);
  			} catch (NeedLoginTokenException e) { // try once more
  				token = fetchToken("login");
  				this.confirmLogin(token, username, password);
  			}
  		} catch (IOException | MediaWikiApiErrorException e1) {
  			throw new LoginFailedException(e1.getMessage(), e1);
  		}
  	}