migrate deprecated method getLoginPage -> getLoginURL