Replaced last occurrences of $login by new Login service.