Fixed visibility of method used by cf-login task in Gradle plugin.