Submissions by form fix

- fixes weirdness with unregistered users
- this bug: http://manage.dimagi.com/default.asp?57633