WIP: change email

Collect email address and password, send confirmation email. Also adds relevant tests.