Changed ValidationException implementation, added test case, added REST authentication handlers.
Upgraded dependencies, added test cases for security classes.