Fixing login functional test