Adding authentication tests and fixing assert messages

Change-Id: I16f2708ad19d59c1625cea8a4b9fbba90380ce06