add authentication support on webclient adn webcontent resource