Implement rudimentary security

local accounts

(from redmine: issue id 590, created on 2018-01-22tgradl, closed on 2018-01-24)