Fix login loop
Merge pull request #104 from RWOverdijk/master

Fix login loop