CRM-13487 fix on d6 authentication

----------------------------------------
* CRM-13487: User Authentication Bug in Drupal 6
  http://issues.civicrm.org/jira/browse/CRM-13487