pub async fn auth_header_for_new_user( database: &mut DefaultDb, user_id: &OwnedUserId, device_id: &OwnedDeviceId, ) -> Result<String>
Get a header containing authentication for the user user_id