I had the same problem and succeeded with this command:
huggingface-cli login --token [your token]
I got this solution from the help command:
huggingface-cli login --help
usage: huggingface-cli [] login [-h] [–token TOKEN] [–add-to-git-credential]