pub async fn login_user( username: String, password_bytes: Vec<u8>, duration_secs: u64, ) -> Result<String>
Login user: verifies password, derives keys, registers session, and returns session token.