fixes #5054 -  Minor bug fixes for Realm FreeIPA Smart Proxy