[enhancement] added jaxrs feature for http basic auth
[cleanup] minor refactorings, fixed some todos
[enhancement] added log4j config for tests to log httpclient stuff