Login and logout.

Signed-off-by: Zdeněk Dušátko <zdenek.dusatko@gmail.com>
Merge branch 'master' of https://github.com/dusatzde/warehouse