Log in on e-mail confirmation, securely (closes #240)