D6 user handling fixes

The Druapl6 core implementation uses some methods which aren't present in Drupal 6, and it brakes the tests.
Iv'e fixed them here.