Assert body response on middlewares tests.
Improve login interface.