Removed hard dependency on Spring Security

Fix for #194