Signing in with magic links

Sign in without a password and fix common expired-link or wrong-browser problems.