[cfid-364] Unit tests for RemoteAuthenticationEndpoint.

Change-Id: I968a139b3883250e3a929a0d1e7f89900d8a800b
Merge "[cfid-364] Unit tests for RemoteAuthenticationEndpoint." into develop