Add unit test for Authenticate scenario

Change-Id: I2cbe1d0c80e6922f83d14d2d6937d6173fdb1c04
Merge "Add unit test for Authenticate scenario"