Upgrade version of httpclient to 4.2.5 and improvment for authentification