GEOS-5921 Disabling anonymous authentication for the GUI results in an HTTP redirect loop