That's the behavior of the PAM module under Linux. If your AFS password
is incorrect, it then prompts you for your local password.
PAM is the Pluggable Authentication Module. It is supported on most
of our architectures, such as Solaris and Linux. You can look
at the The
Linux PAM web page.