fix #1010: Sample App's and code templates' SecureSuccessView responds with a 401 HTTP status code instead of 403