CIVI-23 Bug fixes for anonymous users