MarionL - fixed encryption function

fixed an issue with the encryption function that was not working
properly.
MarionL - fixed data bug, missing roles.

Fixed a bug with some of the init table users lacking roles, such that
tomcat couldn't authorize them.