bugfix; <type 'exceptions.AttributeError'>: 'module' object has no attribute 'use_api_login'

Change-Id: I69e161430fd76dbb44e547c63bd48bd6f4b0faa7