Fix SSL auth