Added a way to configure the resolver class to use for basic/digest auth

This PR allows to use a personalized resolver for basic/digest authentication