API Error page support for Security controller errors
Merge pull request #1007 from tractorcow/pulls/3.1-security-errorpage

API Error page support for Security controller errors