I have a custom form for registration and have experienced the same issue with getting redirected back to the /challenge page, which shows a 404 view. Can’t replicate it as it doesn’t seem to happen every time.
Would love to know if anyone has come up with an answer or solution to this problem.