Skip auth setup when client is inside a server.
Merge branch 'perms' into dev