switch authserver to https