Fix possible crash when fetching Edit token.

Also cleaned up redundant catching of HttpRequestException, and spelling.

Bug: 71331

Change-Id: I4ba8123196a427a3e737156c1a95aabee7fd2851