pub fn format_auth_status( report: &AuthStatusReport, json: bool, include_token_claims: bool, ) -> Result<String, AppError>