Check connection to identity service on startup

Change-Id: Idda67b25ca6f18a72ae5efea8dd4f9b0cff51675