Convert from using Auth to Sentry, with a first pass at adding permissions to sidebar and key management