Fixed Auth:attempt() to work with laravel 3