add a login for e2e (@todo move into some kind of helpers somewhere)