pub(crate) async fn login_device( client: Client, email: Option<String>, device_identifier: Option<String>, ) -> Result<()>