Fixed problem with CSRF token not being generated for submit type of
"POST" as opposed to "post" (both of which are W3-compliant). #1109