Moved crypto code to separate project. Updated custom Glassfish realm