[BK] #Tech - exception handling changed to ensure access control headers always sent.  More diagnostic info included
if something goes wrong with user service REST calls.  Code tidy up.