Primitive PAM login functionality in place.