fix encryption with LDAP, make sure that the owners home is mounted correctly

Make sure that the owners home is mounted correctly, this fixes #5944 
Patch was already tested successfully by @Elethiomel who opened the issue.

@blizzz maybe you can also have a look at it? Thanks!