Fixing compatibility problems for Auth_Db and PHP 5.5