[#982] Fixed sign in bug
Merge pull request #984 from akvo/982_sign_in_bug

[#982] Fixed sign in bug