Added Spring Security and implemented Basic Auth.