Enable http auth if requested