Fix a bug where having no accounts would be reported as not having permission.