Quick fix for https authentication