Learn how to use Enterprise Search to crawl sites that are protected by forms or cookie-based authentication, and walk through creating a sample custom security trimmer for trimming the returned search results… Read the full MSDN article here

Related resources.

Read the KB article here

Download the required Hotfix here

Download a required tool here