Revert "Simplified auto login redirect by adding authentication/authorization checks in web.config; removed redundant code from .aspx files."

This reverts commit d411b0fd19aa64d7fd5eea5856dab36d07f24224.