Implement AccountManager.invalidateAuthToken.

Closes #971.