Avoid prompting for Kerberos username/password under Java 7

This pull request will fix issue #82.