Changes and tests to support externalized open id providers