code: @Deprecated
    static public DatabaseClient newClient(String host, int port, String user, String password, Authentication type) {
      return newClient(host, port, null, makeSecurityContext(user, password, type, null, null), null);
    }
docs: Creates a client to access the database by means of a REST server.
  
  @param host	the host with the REST server
  @param port	the port for the REST server
  @param user	the user with read, write, or administrative privileges
  @param password	the password for the user
  @param type	the type of authentication applied to the request
  @return	a new client for making database requests
  @deprecated	(as of 4.0.1) use {@link #newClient(String host, int port, SecurityContext securityContext)}