Whenever any power or authority is given to, or any duty is imposed upon, any person by any provision of this code it may be exercised or performed by any deputy or person authorized by him unless it is expressly provided that it shall be exercised in person.