fix detection of system wide mount points
add unit tests
fix broken variable name, recoveryPasswordSupported is now recoveryEnabledForUser