Removes whitelabel error page.
Consolidates all security config into single Configuration class.