Setting up LocalAuthentication for use when it's less buggy.
Avoiding using LocalAuthentication when the class isn't available or defined not to.