code: public boolean login(final String username, final byte[] authResponse) {
          Optional<ProxyUser> user = getUser(username);
          return user.isPresent() && (Strings.isNullOrEmpty(user.get().getPassword()) || Arrays.equals(getAuthCipherBytes(user.get().getPassword()), authResponse));
      }
docs: Login.
  
  @param username connection username
  @param authResponse connection auth response
  @return login success or failure