Improved work with chars, cookies and tokens in tests
Corrected settings file
Test for mail_auth