Remove spurious test.
Move authentication to module.