Fixed alert conditionals (were reversed)
Removed enable_config on authentication... was redundant