Membership login redirect to 404

Login on protected pages redirects to a 404 page. Even with the Login Redirect add-on active and set to redirect to the Account page.