Repair the plugin's network settings API

Updating network settings was broken due to the missing registration of
the settings, with `register_setting()`, and an improper implementation of
the updating part of the network settings.

Fixes #1
Rename `guard_user_is_allowed()` to `guard_is_user_allowed()`