add basic authentication to ssl