Fixes /register form submission to render errors on /register view