Add assertion to ensure that request has a client attr on _load_application