CAS-1403: Buffer limit exceeded writing object of type: javax.security.auth.login.FailedLoginException

First commit
Merge pull request #379 from leleuj/CAS-1403

CAS-1403: Buffer limit exceeded writing object of type: javax.security.auth.login.FailedLoginException