Fixed static logger
Added an atmosphere interceptor to restore SecurityContext