Fix user log in + dev mode mail.