[coretasks] Fix case sensitivity in kick

Kicking a user with a capital letter in their nick caused a key error.