Experienced this problem on a machine after upgrading from 12.04 to 14.04. I compared my /etc/pam.d contents to a freshly installed 14.04 system. "sudo pam-auth-update --force" corrected most of the differences. Also uninstalled the "libpam-ck-connector" package (which seems to be not needed?). After doing this my /etc/pam.d matched the fresh system, and after logging out and back in, the problems went away.
Experienced this problem on a machine after upgrading from 12.04 to 14.04. I compared my /etc/pam.d contents to a freshly installed 14.04 system. "sudo pam-auth-update --force" corrected most of the differences. Also uninstalled the "libpam- ck-connector" package (which seems to be not needed?). After doing this my /etc/pam.d matched the fresh system, and after logging out and back in, the problems went away.