Fix permissions on attributestore id sequence.