Fix null exception on empty name

- Constructors adapted to check for null values in OpenIdConnectMessage constructor
- new test case to check for possible error scenarios