Fix and test for LOGSTASH-559 authenticationType=>nil