Revert "HCSVLAB-506: fix authentication bug for API document requests"

This reverts commit cac3a3c6fbddafec0e41422c2eabc05213374a46.
HCSVLAB-506: fix authentication bug for API document requests