Don't cache AD config

Ticket: #4625
If use default domain is checked, don't use domain in home directory path

Ticket: #4699