Removed slice membership check in on_authorized