The “unauthorized” error is because guest access is disabled. Make sure your config file still has “GUEST”: { “disabled”: false
… it seems as though that’s gone missing.
Using port 4985 is OK for bringup, but not in real use. That’s the admin port, which allows anyone access to anything, kind of like superuser access to Sync Gateway. It’s only available from localhost.