Force login state when there's no logged in user
Merge branch '137' of github.com:Gizra/negawatt-server into 137