Basic authentication works with jboss application embedded realm. Some sucesss. Though it is still not what we actually want.