As of Sitefinity Version 5.1.3270.0, the following code in the web.config will no longer redirect the user to a custom login page.
I attempted the solution you suggested above (using a custom widget with redirect code) but that does not work either. It still redirects to Sitefinity's main login screen. Any ideas what to do?
Oh, I am using Claims Based Authentication.