added BASIC Authentication using JBoss ApplicationRealm