How do I create a custom attribute to extend existing Authorize attribute in MVC?
You do not need to extend this attribute, web.config is enough. Please read about forms Element for authentication. Pay your attention on defaultUrl. This is something what you need.