Added test Spring Security functionality.