Cleanup lives here rather than in onClose because the screen is also dismissed programmatically once the sign-in finishes, and that path only goes through removed.