Adding support for http_auth

Hello,

this patch allows to use PHP_AUTH_USER to automatically log a user.

The user must exists in the database and password must be set to 'php_auth'.

Best regards

Denis Sacchet