Updated ShiroRuntime to pass tests