Add support for local identity metadata (username/email address). Moved config to a custom file so it participates in import/export.