extend a method to provide xauth authorization