Fix redirect bug in VkApi.security_check