added tests to test the API that starts the reset password procedure
avoid a NPE when debug log level is enabled
returns the entire stacktrace in case of internalServerError when the reset password procedure raises a generic Exception