Replace PendingAuth/RSA key passing with tempPassword pattern:
- register(): saves keys to disk, stores password temporarily
- confirmRegistration(): verifies code, then calls performLogin(email, tempPassword)
which re-loads keys from disk - exactly as iOS does
- Extract shared performLogin() suspend fn used by both login() and post-confirm flow
- Remove PendingAuth data class entirely
Simpler, correct, matches reference iOS implementation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- confirmRegistration: wrap auto-login in separate try-catch so a failed
login after confirmation never shows as 'wrong code' to the user.
If auto-login fails, user is sent to LoginScreen to log in manually.
- SessionManager.login: always reconnect fresh (disconnect + enableReconnect
+ connect) instead of reusing the stale post-registration TCP connection.
Fixes login failures caused by server closing the registration connection.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>