[Spring Security] Add login/logout client and unit test.