using commons-httpclient for login request. bypass manual encoding handling
handle login request encoding with apache httpclient.