Add IP to authorization params (issue #4198)