Revert "Removes requirement of "refresh_token" in config"

This reverts commit 73759d35a8325a8b0a875cfadc218ee856a8690c.