BUG Adjust Session::setFormMessage to fit with underlying API.
Merge pull request #1177 from mateusz/session-set-form-message

BUG Adjust Session::setFormMessage to fit with underlying API.