Add a system test for disabling the machine registration endpoint
In #1339 we have implemented a mechanism disabling the machine registration. However, it lacks the system tests. Writing the system tests requires the work done in #1345 (closed) as it adds some framework for making new registrations in the tests.