No need in Apache HttpClient. Simple case Auth test implemented