fix login captcha, added MemoryCache type