ApiResponse: return success status or die on EventLogging fail.

Added tests for invalid claims

Change-Id: Ia6fbb60d56ab9e50619e761b1210ba8933263642
Merge "ApiResponse: return success status or die on EventLogging fail."