STUDIO-335 Add the DefaultHttpClient when the username and password be null.