Modify step def for login

- Modify step def for login.