Change login exclusion from permission to role that is specified in the
settings.