This fixes authentication.

It's clear that isolating tests is not a good thing for me. I don't due
that well. I need to test around use cases rather then classes. Also,
code needs to be re-organized to make is easier to drive tests more like
a real session.