_load_application() bug fix

Fixed a bug where an exception was thrown when testing an undefined request.client in _load_application()