Fixes #6294 Allow signing in using email