On tests sometimes the csrf given on the form is different from the one in the session. This line updates the one on the form so we don't get 403 forbidden errors on tests.