Added an unit test for an exception on the authorization
Modified performance tests coming from master