[task] updated tests for registration, login and email template resolving