Fixed error handling for Controller instantiation.  Also added the error details into the header so even under errors, such as 401, 500, etc... we can get error information for messages.