Added timeout to httpclient. Fixed wrong error message with incorrect
password.