translated integration/login_test into cucumber :)