MAL-31. Fixed test that user is not logged in after registration