401 when accessing Content-Type-Builder, Media Library, Settings>User&Permissions Plugin>Roles

Ok - this was solved by removing some dependencies that were left over from 3.6.9. Removed knex and replaced sqlite3 with better-sqlite3. I’m not sure which of these had the effect, but none-the-less, it is now working.