Refs #18155; added test for previous commit at the same time documenting the behaviour of version retrieval when user is anonymous
Merge remote-tracking branch 'collective/master'