fixed a bug in the REST API filter, fixed Spring Security initialization when running from an executable JAR