Facebook is cleaning up after a major security incident exposed the account data of millions of users.