Revert "Remove auth call from set_credentials"

This reverts commit e3c94c146d81f255300ad1be2615b06c3996692d.