Issue #3

fix npe in JAAS submodule when no credentials provided