More POSIX compliant
Test user authentication before locking