Fixed authentication bug, removed nodeunit. sorry geoff. using a differe...

...nt testing framework