Allowing to set credentials in 'elasticsearch.client' config parameter. (used on heroku for example)

Adding test on this parameter for different syntaxes.