SLIDER-192: use hadoop.security.authentication type as indicate whether to use security or not.