This is a solution to the Distributed Denial of Service (DDOS) attack. It slows down the original request of all new users. Once a user gets in and is authenticated, it goes through directly, while attackers must continue to solve the puzzles in order to get a try at the rest of the site.
More information may be found here.