Improvements to c_admin authentication protection and login redirection.