Issue-820: 'ticketId cannot be null' for a Facebook authentication

First commit
Merge pull request #821 from leleuj/cas-820

Issue-820: 'ticketId cannot be null' for a Facebook authentication