example for logging in to authenticated Hadoop instance