The python YouTube-DL utility despite the name can actually be used on 100s of sites including TikTok and supports the use of usernames & passwords.
It works on Windows & Mac and many others and has a large number of options available.
youtube-dl --cookies "cookies_files" --referer "https://www.tiktok.com/" "MP4 VIDEO URL" -o "output.mp4"
Note on reading, experimenting & updating
The simple usage of youtube-dl is to supply it with the URL of the video that you would like to download but it is well worth looking into the documentation and experimenting on what you find as there are options to download &/or convert to specific formats, quality settings, etc. and specifically to this question there are options to download playlists, favourites, etc., and convert those to lists of downloads to perform. How & if these work will likely vary from site to site and from time to time so you will need to experiment.
It is also worth noting that some providers constantly change things to try to block such tools so it is a good idea:
- Before each usage update with
pip install -U youtube-dl to get the latest fixes
- If something doesn't work give it a day or two and try again.