Stop using deprecated allowaddr parameter and check allowpass intead. Fixes #3248