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

This reverts commit 09cedb187f09d8983a294c8cd4d0bca4cd309cfb.