Tokens allow you to set permissions for each token, but there may be a mistake in the settings. Or you may be passing the wrong token. Using login() makes it easier to fix. In addition, there are occasional cases where Hugging Face simply has a bug.