fixed passwordless login issues