[SP-1178] - Backport of BISERVER-10957 - Manual deployment to JBoss 6.1.0 EAP (JBoss 7.2 AS Final) returns error on Login Page (5.0)