Add form and query helpers needed for Facebook auth.

`uri` --> `URI` in the English part of the comment (more than one instance).