Nothing changes if I remove it. The problem is being caused by this part :
there are no collections with the name style and js because ControllerBase's initialize function was not called. But the admin/index view is being rendered, why is that? The user has no permission to access that area, so he should be redirected to site controller index action and the view should not be even rendered.