Modify post commands to accept authinfo