Only write failed logins to the DB if the bruteforce protection is enabled