Fixes #5594: Failed registration in walled garden returns to registration form

This uses a short expires cookie to let the view know the client supports JS, so we can make the page initially hidden while the registration form loads.

If we can assume JS support we could eliminate the need to create/check the cookie.