Add more argument checking on manager/acl functions and ensure that
a non-existing ID given to the generic list endpoint throws a 404
instead of a 500.