add tests and some minor refactors (#38)
* add tests and some refactors
* add comments for functions/methods in authenticator.go
* add comments for functions/methods in authenticator_test.go and remove commented codes
* add comments for functions/methods in authenticator_test.go and chage getIPListFromRequest to accept golang http.Request
* Add more tests, fix TestBuildNewWebservicesCache test which was sensitive about order, add features to TestLogSink
* otel infra done
* Revert "otel infra done"
This reverts commit 3251bbaf2b2689dcff66bdf95f572e804ce68e72.
---------
Co-authored-by: Saman Mahdanian <[email protected]>