implement v2/UAA-based Client#register

Change-Id: I2575bda3cdaaf8ef0ff6ca3be36477e7b2f232ce