Remove usage of deprecated request.REQUEST from login view