Added spring security tests.