pam_nologin is supposed to prevent users from logging in, not prevent the login screen from coming up.