Fixed #117.
Separated the plays for glassfish and liferay into separate plays to allow security context change