Fix login feature test