automatic code style fixes
fix error when plugin is enabled but not configuredIn this case the action handler should not be registered.
implement password expiry warnings. fixes #4