fixes for list_authorized_keys and import_logs