New tests for account behaviour, activation and login

Adds new functions for checking emails.
Align tests with records in tcms.