Added JAASPasswordPrincipal inclusive tests. Tests were refactored too