Merge pull request #296 from pedroigor/master

[PLINK-448] - Identity bean not available in EL.
fix JS errors
Merge branch 'master' of github.com:picketlink/picketlink
extract and store the token in a global variable
store correct token value