My logins for membership 2 are not working

Membership 2 login page takes the users to 404 error not found page instead of logging them in. Everything was working until I updated Divi a couple of days ago.