Implement API client with session management
- Create TangledApiClient wrapper around AtpAgent
- Support login with identifier and password
- Implement logout with session cleanup
- Add session resumption from OS keychain
- Handle authentication state and errors
- Add 12 comprehensive tests for all API client functionality
- All tests properly typed using vi.mocked() without suppressions
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>