Fix login_helpers to login v1 environment without UAA