fix feature tests with login