fix: add credentials to rest-api method
fix unit test
Merge pull request #117 from jesuspg/bug/4372_syncWithSDC

fix: add credentials to rest-api method
fix conflict