Drop legacy access control code (#592).

See #592.