Fix for GGUS 99308

This corrects the issue raised here: https://ggus.eu/ws/ticket_info.php?ticket=99308

If the settings below were used, the client would attempt to use the site_name variable before it was assigned as site_name would only be set if sec_updater was enabled. Original fix was to enable spec_updater. This 
feature fixes this and allows any combination of  joiner and spec_updater being enabled.

[joiner]
enabled = true

[spec_updater]
enabled = false

The relevant lines are 139-150. Rest is me tidying up to PEP8.