Update token auth view. Closes #2151.