Allow sudo mode to work by logging in with the real Django request object