Fix logging in local environments
Merge pull request #312 from Icenium/tashkov/fix-login

Fix logging in local environments