minor fix to raise error during sign-in