Fix broken references to missing user_name in various self.log_request() calls; misc PEP8 cleanup