Move form-wide response error code to formHelpers

Add an (optional) third argument to the method
`formHelpers#applyValidationErrors()` that can take an error string,
``reason``, to set on the form itself, rather than any particular
field. Remove the duplicate code in the auth directive to reset
the response errors on each field, which is handled already in the
``form-input`` directive.