Fix a logical error as force anonymous gadget is usable with anonymous users only.