fixed Login.php unit tests