testlogin, waitting for rewrite