Refresh credentials on any repo on registered devices; add logging