Description
Add an optional basic auth client handler to more easily handle the basic auth. It first sends the request, checks for a 401, and then sends the username/password if available in the request header with a re-issued request.
For now, commons-codec will be added as a "provided" dependency so if users use this functionality, they will need to add in the commons-codec.jar in their pom.xmls.
Thanks to Messaoud Benantar for help with this contribution.