Mitigates vulnerability in API authentication introduced in r3218.
Authored by: jplang 2011-07-06
Parent: [r6186]
Child: [r6188]