Add ability to require login before every request, making authentication...

... during tests more deterministic