Hide Forgot
If a login attempt fails, the failure message is not displayed. This is almost certainly a problem with the custom login template.
Turns out I completely misdiagnosed this misbehaviour. When deployed in a production configuration, PulpDist expects the *web server* to deal with user authentication and pass that information along. If the login template gets displayed, it's an indication that the web server has allowed an unauthenticated user to access a page that requires authentication (or there's a bug in the interaction between the web server and PulpDist). Either way, the login template should be clearly indicating this rather than offering a login page that isn't actually going to do anything.
In the next release, the login page replaces the form with a notice if local auth is not supported.
Reopening - Django admin section appears to be using the wrong login template
Changed the login template to accept the additional info it needs as attributes on the login form instead of as context variables. This allows that info to be passed to both the normal and admin login view as class attributes on an AuthenticationForm subclass.