Allow for ssl and http auth