minor changes for shiro
Fixed CustomEnvironmentLoaderListener