Fix APSTUD-7686 - NPE when code-assisting. Call for lazy load when getting a UserAgent by id.