Fix network access for users with no role

Fixes #1778
Fixed conversion of wildcards to regexps

Was affecting domain passthroughs.