I believe this issue has been fixed when I removed the code that refreshed the page when tokens expire. If a token expires, the page will stay as-is, and if the user is on the registry, the user will be presented a new window to login and resume the registry session with a new token.