SPEAKEASY-135: Fixes NPE when plugins are globally enabled and user is not logged in.

Hi,

I've fixed one critical error which crashes jira when plugins are globally enabled and users are not logged in (anonymous).
Great if you could pull it to you and release a new version. Thanks!

Best regards,
Michal