Improving CONTENT_TYPE mime detection fix for PHP 5.4 webserver
Fixes Restler to correctly get the authentication class instance for WWW-Authenticate header. Fixes #299