Fix for obtaining POST parameters from login view