testclient: try to login when registration fails