UC-2355: 500 Error returned ,with no other explanation, when configuring databases (intermitent)

- catch UserExceptions and wrap them into restlet resource exceptions when configuring mongo