Filter login and vote actions based on voting_enabled setting.