hello and welcome to the forum,
thanks for posting that.
this is a known issue and has been discussed a few times.
for example,
https://forum.rclone.org/t/issue-with-mega/25671/8
and is documented, including a workaround at
https://rclone.org/mega/#failure-to-log-in