luci-mod-rpc: move luci config require into the authentication function (#427)