Add authorization for delete_machine
Merge branch 'authorisation' into wip