fixes #283 - Show error message in mvc-sample and generated login
controller