ITACLOUD-84 (Implement login with if statement in autotests)