zanata/zanata-server — pull request #546 by davidmason (2014-07-31 04:34:44+00:00)
Title: Avoid NullPointerExceptions for null accounts in SecurityFunctions

Wraps the return value of getAuthenticatedAccount in an Optional to enforce understanding that it may be null.