Add basic IP filtering

Add a basic IP filtering, allowing users to restrict which IP addresses a local account is allowed to authenticate from.