Fix is_admin tests

config._CFG was not properly initialised, but its `getboolean` method
was accessed by `is_admin`