Add form and query helpers needed for Facebook auth.

Yeah that's fair.