One of the world's most popular video platforms has suffered a data breach that involves the loss of tens of millions of users' email addresses and passwords.