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
Merge pull request #405 from giastfader/master

Tests to test the API that starts the reset password procedure