Check hashed captcha with Hash::check

Change-Id: Ia782c38195d5c10b3c16089674af2ad9a2a10dcb