[client] Replace a simple getJSON() with HatoholConnector that handles authentification gracefully.