Test HTTPS authentication