Support for protection error messages and html-style password prompt