Add ipaddr parameter to preauth method.

This is described in the documentation for /preauth, and is needed to support whitelisting by IP address.