Change credentials default to [], use empty array

closes /elasticsearch/logstash/#1619
Removed nil check
Closes #1661