Dont continue if API token validation has failed

Return the token mismatch i18n message in the API JSON to let the
form JS know that we've had an error and not to continue.

Change-Id: I6b99015ab454868db0d858e13461b011d3c3092e