Added OpenID required/optional attributes functionality