Refactor signin form to use form_tag.  Improve test suite