Fix missing optional arguments

Tornado would reject requests when an optional argument was missing.