@NonNull
    public static Credentials getCredentials(@NonNull final ICredentials connector) {
        return getCredentials(connector.getUsernamePreferenceKey(), connector.getPasswordPreferenceKey());
    }
Get login and password information.

@param connector the connector to retrieve the login information from
@return the credential information
main/src/main/java/cgeo/geocaching/settings/Settings.java