Added a AuthenticationValidator which can be used to check primary
attributes.