yeah, it sounds like you have your pam config misconfigured. Its giving you that box because it passed the user/password check but not some other check like time, or env-vars, or logon-console or something else OR somehow its set in pam to deny on passing a module(really weird). If worst comes to worst, ask a friend with nix to mount your hd and check the files.