I don't think pam_krb5 can break pam_env, which is what reads /etc/environment. At least not with a correct pam config.