Refixed JIRA 401 using django forms rather than javascript