code: public static Authentication login(String username, String password) {
          return new AuthenticationImpl(username, password, AuthMode.Login);
      }
docs: Create an {@link Authentication} instance which use login mode
  
  @param username
  @param password
  @return authLogin