Middleware Architecture for Cross-Border Identification and Authentication