HUE-1556 [core] Create the users home directory automatically at login

Add tests by monkey patching LdapBackend.