notifications: fixed bug where NotificationSender didn't find clients
test: ApiKeyTest works on builds with no valid api key