USERGRID-1816: fixed login and authentication after merge of SDK