[bugfix]
fix bug with `resource_name` method in auth_controller