Bug #5772 add ejb authentication for remote use