fix tests from login changes