Change form_for with form_tag in sign in page and make relevant updates in controller code to make tests pass