Improved principal to contain roles because JAAS doesn't provide any way how to get them. #147