fix bug during login with email session creation
Merge pull request #20 from jedireza/login-with-email-fix

Fix bug during login with email session creation