Minor fix.
Fix EXEC protocol command.
Undeprecate admit/deny.
Fix QUERY protocol command.
Merge pull request #1349 from jimis/multi-tenancy

Multi tenancy assorted fixes.