fix http on auth crash with unexpected value
e.g invalid data of application/x-www-form-urlencoded (current_language=../../../../../../../..//etc/elastix.conf%00&module=Accounts&action)