Fix scoping issue on signup

The Guard added in #2049 has a scoping issue that prevents the submitted variable from changing when the signup fails. Meaning any attempts to resubmit the form wont work and the user will need to reload the page. 

Found when entering a password >1 character to pass client side validation but <8 which fails server side validation.