CoursePress login redirect 404

When a user logs in through the CoursePress frontend login form on any site (parent or child site), they are redirected to a 404 page on the parent site. Can you help me figure out why?